package com.example.springboot_ssm;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//配置mapper接口扫描。spring扫描com.example.springboot_ssm.dao路径，其内接口均被看为mapper接口
@MapperScan("com.example.springboot_ssm.dao")
@SpringBootApplication
public class SpringbootSsmApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootSsmApplication.class, args);
    }

}
